import Vue from 'vue'
import App from './App'
import api from '@/api/api.js'
import Chat from 'vue-chat-app'
Vue.use(Chat)

/* 通用全局接口 */
Vue.prototype.$api = api

/* 通用头部导航 */
import cuCustom from '@/components/cu-custom/cu-custom.vue'
Vue.component('cu-custom', cuCustom)

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
